Skip to content

site: homepage hero B at 90%, logos above the fold, rule fix - #9036

Merged
vanrensbird merged 1 commit into
mainfrom
claude/homepage-hero-b-90
Dec 3, 2026
Merged

vanrensbird merged 1 commit into
mainfrom
claude/homepage-hero-b-90

Conversation

@vanrensbird

@vanrensbird vanrensbird commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Three changes to version B of the homepage hero A/B test (#9033). Today's homepage (version A) is untouched.

  • 90% scale. Version B was reviewed at 90% browser zoom, so at 100% everything in it read about 10% too large. Headline, pitch, card art, CTAs, command pill, labels, proof line and gaps are now 90% of the first build, including the sizes that follow the window. The content width (lined up with the header) and the space cleared for the header are unchanged.
  • Customer logos above the fold. The scrolling logo strip sits inside the hero frame, under the proof line, and version B leaves out the separate logo section below, so the logos show once. LogoStrip in logo-cloud.tsx is the strip on its own, with masked edges and slightly smaller logos.
  • Hairline. The rule beside the pitch ran past the "Prisma ORM" link, because the gap that lines the text up with the headline was padding inside the bordered box. It is a margin now, so the rule spans the text only.

The experiment (homepage-hero-infra) started on 2026-12-03 at 22:07 UTC. After this deploys, its start date should move to the deploy time so the results only count one design.

Checked

  • pnpm test in apps/site (436 pass) and pnpm types:check.
  • Local dev: at 1470×830, 1512×850 and 1920×960, the headline, both CTAs, the proof line and the logos are all on the first screen (22 to 47px to spare). The rule ends with the link text. At 375px there is no horizontal scroll.

🤖 Generated with Claude Code

Version B was reviewed at 90% browser zoom, so at 100% everything in the
hero read about 10% too large: the headline, pitch, card art, CTAs, command
pill, labels, proof line and gaps. They are now 90% of the first build,
including the window-relative sizes. The content width (lined up with the
header) and the space cleared for the header are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vanrensbird
vanrensbird had a problem deploying to prisma-preview/claude/homepage-hero-b-90 December 3, 2026 22:33 — with GitHub Actions Failure
@vercel

vercel Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
blog Ready Ready Preview Dec 3, 2026 10:36pm UTC
docs Ready Ready Preview Dec 3, 2026 10:36pm UTC
eclipse Ready Ready Preview Dec 3, 2026 10:36pm UTC
site Ready Ready Preview Dec 3, 2026 10:36pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
handbook Skipped Skipped Dec 3, 2026 10:36pm UTC

Request Review

@vercel
vercel Bot temporarily deployed to Preview – handbook December 3, 2026 22:33 Inactive
@prisma-gizmo

prisma-gizmo Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

✅ Gizmo reviewed 59fa864 — posted 0 inline comment(s) this pass.

Open findings: none

Change walkthrough

This PR scales the version B homepage hero (homepage-hero-infra experiment's test variant) to 90% of its first build, compensating for the design having been reviewed at 90% browser zoom. Version A (today's homepage) is untouched.

Scaling (all three files). Every changed value in hero-home-b.module.css is exactly 0.9× the previous build with sensible rounding — the root/hero-section padding clamps, the headline's clamp(47px, min(6.84vw, 11.16vh), 126px), the side column, card, tiles, command pill, CTAs and proof line — including the height-tracking vh coefficients and the responsive overrides at 960px/760px.

TSX/CSS sync. The TSX icon and art sizes match their scaled containers: the tile Image at 252×252 matches the new .tileArt img clamp max of 252px, and the arrow/GitHub/copy icons (14/18px) hold the same ratio to the scaled .ormLink, .ctaCircle (43px), proof line, and .copy button (29px) as before.

Deliberately unscaled. As documented in the new comment at the layout section, content width (.wrap max-width and gutters, aligned with --container-site) and header clearance (.root padding-top at desktop, 128px and 112px breakpoints) are unchanged, per the PR description. Hairline 1px borders and sub-8px micro-gaps stay put; the differences from an exact 0.9× are under 1px and within rounding tolerance. The headline drum, built in em units, scales automatically with the headline font-size.

Blast radius. The only consumer is the variant switch in home-page.tsx (test → HeroHomeB), which is untouched; no class names were removed and no logic changed — the hero-home-b-client.tsx diff is only the two inline SVG sizes. No tests reference this component's styling. The experiment start-date move to deploy time noted in the description is an explicit post-deploy follow-up, not part of this diff.

@prisma-gizmo prisma-gizmo Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New findings: none · trace

@prisma-gizmo prisma-gizmo Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No Gizmo finding is open and the head commit has been reviewed. Approving.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

The homepage hero’s CSS spacing, typography, card, artwork, CTA, command, and proof-line dimensions are reduced. The rendered product image and several icons are also smaller. Responsive spacing, tile artwork, and pitch text are reduced at narrower widths.

Changes

Homepage Hero Sizing

Layer / File(s) Summary
Base hero and card sizing
apps/site/src/components/sections/hero-home-b.module.css, apps/site/src/components/sections/hero-home-b.tsx, apps/site/src/components/sections/hero-home-b-client.tsx
Base hero and card dimensions are reduced. The product image and several icons are rendered at smaller sizes.
Responsive hero sizing
apps/site/src/components/sections/hero-home-b.module.css
At widths up to 960px and 760px, hero spacing is reduced. At widths up to 760px, tile padding, tile artwork, and pitch text dimensions are also reduced.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Merge Risk: Minimal · up to 59fa8

This change scales the version B homepage hero down to 90% of its first build. No merge-blocking risk was found, and the change is visual only and easy to revert.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@vanrensbird
vanrensbird merged commit bfa8c8d into main Dec 3, 2026
28 of 30 checks passed
@vanrensbird
vanrensbird deleted the claude/homepage-hero-b-90 branch December 3, 2026 22:37
@vanrensbird vanrensbird changed the title site: scale the homepage hero B to 90% site: homepage hero B at 90%, logos above the fold, rule fix Dec 3, 2026

This branch had an error being deployed

1 failed, 4 active, and 1 inactive deployments
Preview – docs — 59fa8646 Deployed Dec 3, 2026 by vercel[bot]
Preview – blog — 59fa8646 Deployed Dec 3, 2026 by vercel[bot]
Preview – site — 59fa8646 Deployed Dec 3, 2026 by vercel[bot]
Preview – eclipse — 59fa8646 Deployed Dec 3, 2026 by vercel[bot]
prisma-preview/claude/homepage-hero-b-90 — 59fa8646 Deployed Dec 3, 2026 by vanrensbird via deploy #2067
Preview – handbook — 59fa8646 Deployed Dec 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant